package com.jic.point.rest.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Auther YGH
 * @DATE 2020/11/13/14:51
 */
@ApiModel(description = "标识 秘钥 实体类")
@Data
public class SignData {

    @ApiModelProperty(notes = "业务类型：1、第三方平台-THRID_PART_PLATFORM；2、平台-PLATFORM；3、活动规则-ACTIVITY_RULE；4、部门-DEPARTMENT；5、供应商  6.用户 MENBER；")
    private String busiType;
    @ApiModelProperty(notes = "业务类型对应的编码")
    private String busiCode;
    @ApiModelProperty(notes = "秘钥")
    private String secreKey;
    @ApiModelProperty(notes = "基础标识（6-8位纯数字）")
    private String appKey;
    @ApiModelProperty(notes = "增加积分权限（0无 1有）")
    private Integer addType;
    @ApiModelProperty(notes = "消耗积分权限（0无 1有）")
    private Integer productType;
    @ApiModelProperty(notes = "是否有查询权限")
    private Integer queryType;
    @ApiModelProperty(notes = "冻结积分权限（0无 1有）")
    private Integer freezeType;
    @ApiModelProperty(notes = "渠道的状态（-2删除 -1驳回 0新建 1待审核 2启用）")
    private Integer status;
    @ApiModelProperty(notes = "是否删除：0不删除， 1删除")
    private Integer deleteFlag;
    @ApiModelProperty(notes = "是否启用（0-未启用，1-已启用；）")
    private Integer auditFlag;
    @ApiModelProperty(notes = "状态（-3、双向冻结；-2、流入冻结，流出正常，-1、停用，0、初始化；1、启用；2、流入正常，流出冻结；）")
    private Integer sts;
    @ApiModelProperty(notes = "新增积分个数")
    private BigDecimal amount;
    //消耗积分权限（0无 1有）
    private  Integer consumptionType;
}
